home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / OWLINC.PAK / LISTVIEW.RC < prev    next >
Text File  |  1997-05-06  |  2KB  |  70 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1993, 1996 by Borland International, All Rights Reserved
  4. //
  5. //$Revision:   10.3  $
  6. //
  7. // Menu and accelerators for use with TListView
  8. //----------------------------------------------------------------------------
  9.  
  10. #include <owl/inputdia.rh>
  11. #include <owl/listview.rh>
  12.  
  13. #if defined(RC_INVOKED)
  14.  
  15. #define NO_IDM_EDITSEARCH
  16. #define NO_IDA_EDITSEARCH
  17. #include <owl/editsear.rc>      // Get the edit menu help strings
  18. #include <owl/inputdia.rc>      // Get the TInputDialog dialog resource
  19.  
  20. #if !defined(NO_IDM_LISTVIEW) && !defined(__IDM_LISTVIEW)
  21. #define __IDM_LISTVIEW
  22. IDM_LISTVIEW MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  23. {
  24.   POPUP "&Edit"
  25.   {
  26.     MenuItem  "&Undo\aCtrl+Z",        CM_EDITUNDO
  27.     MenuItem  SEPARATOR
  28.     MenuItem  "Cu&t\aCtrl+X",         CM_EDITCUT
  29.     MenuItem  "&Copy\aCtrl+C",        CM_EDITCOPY
  30.     MenuItem  "&Paste\aCtrl+V",       CM_EDITPASTE
  31.     MenuItem  "&Delete\aDel",         CM_EDITDELETE
  32.     MenuItem  "&Add Item\aIns",       CM_EDITADD
  33.     MenuItem  "&Edit Item\aEnter",    CM_EDITEDIT
  34.     MenuItem  "C&lear All\aCtrl+Del", CM_EDITCLEAR
  35.   }
  36.   POPUP "&Help"
  37.   {
  38.     MenuItem  "OWL ListView", 0, INACTIVE
  39.   }
  40. }
  41. #endif
  42. #undef NO_IDM_LISTVIEW
  43.  
  44. #if !defined(NO_IDA_LISTVIEW) && !defined(__IDA_LISTVIEW)
  45. #define __IDA_LISTVIEW
  46. IDA_LISTVIEW ACCELERATORS
  47. {
  48.   "^z",      CM_EDITUNDO,
  49.   "^x",      CM_EDITCUT,
  50.   "^c",      CM_EDITCOPY,
  51.   "^v",      CM_EDITPASTE,
  52.   VK_DELETE, CM_EDITDELETE VIRTKEY
  53.   VK_DELETE, CM_EDITCLEAR, VIRTKEY, CONTROL
  54.   VK_INSERT, CM_EDITADD,   VIRTKEY
  55.   VK_RETURN, CM_EDITEDIT,  VIRTKEY,
  56. }
  57. #endif
  58. #undef NO_IDA_LISTVIEW
  59.  
  60. #if !defined(NO_IDS_LISTVIEW) && !defined(__IDS_LISTVIEW)
  61. #define __IDS_LISTVIEW
  62. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  63. {
  64.   IDS_LISTNUM,  "Line number %d"
  65. }
  66. #endif
  67. #undef NO_IDS_LISTVIEW
  68.  
  69. #endif  // defined(RC_INVOKED)
  70.